package com.lesso.cyg.sunflower.domain.repository;

import com.baomidou.mybatisplus.plugins.Page;
import com.lesso.cyg.sunflower.model.AttendanceRule;
import com.lesso.cyg.sunflower.pojo.dto.AttendanceRuleDTO;
import com.lesso.cyg.sunflower.pojo.dto.AttendanceRuleQueryDTO;


/**
 * AttendanceRuleRepository
 *
 * @author cyg
 * @since 2025-07-02
 */
public interface AttendanceRuleRepository {
    Integer save(AttendanceRule attendanceRule);

    void removeById(Long id);

    Integer update(AttendanceRule attendanceRule);

    Page<AttendanceRule> selectPage(AttendanceRuleQueryDTO queryDTO);
}